    <div class="export_icon">
    	<a class="export" href='/list_group/export?id=<?php echo $id; ?>&page=<?php echo $page; ?>&type=<?php echo $type;?>&order=<?php echo $order;?>&page=<?php echo $page;?>'>&nbsp;</a>
    </div>
    <div id="main_box">
        <div class="h"> Danh Sách Sim - <?php echo $catInfo['name']; ?></div>
        <div class="b">
            <table id="tables" cellspacing="1">
            	
                <tr>
                    <td class="top" style="width: 7%; height: 20px; text-align: center;">
                    	<strong>STT</strong>
                    </td>
                   <td class="top" style="width: 25%; height: 20px; text-align: center;">
                       <strong>
                            <a href="<?php if($order==1) echo site_url('nhom/'.$this->mycommon->convertToAlias($tmpInfoDetail['name']) . '_' . $tmpInfoDetail['id'].'/trang_1_10'); else echo site_url('nhom/'.$this->mycommon->convertToAlias($tmpInfoDetail['name']) . '_' . $tmpInfoDetail['id'].'/trang_1_10_'.$order);?>">10 Số </a> | 
                            <a href="<?php if($order==1) echo site_url('nhom/'.$this->mycommon->convertToAlias($tmpInfoDetail['name']) . '_' . $tmpInfoDetail['id'].'/trang_1_11'); else echo site_url('nhom/'.$this->mycommon->convertToAlias($tmpInfoDetail['name']) . '_' . $tmpInfoDetail['id'].'/trang_1_11_'.$order);?>">11 Số </a>
                        </strong>
                    </td>    
                    <td class="top" style="width: 30%; height: 20px; text-align: center;">
                        <strong>
                            <a href="<?php if($type==1) echo site_url('nhom/'.$this->mycommon->convertToAlias($tmpInfoDetail['name']) . '_' . $tmpInfoDetail['id'].'/trang_1_2'); else echo site_url('nhom/'.$this->mycommon->convertToAlias($tmpInfoDetail['name']) . '_' . $tmpInfoDetail['id'].'/trang_1_'.$type.'_2'); ?>">Giá Tăng </a> |
                            <a href="<?php if($type==1) echo site_url('nhom/'.$this->mycommon->convertToAlias($tmpInfoDetail['name']) . '_' . $tmpInfoDetail['id'].'/trang_1_3'); else echo site_url('nhom/'.$this->mycommon->convertToAlias($tmpInfoDetail['name']) . '_' . $tmpInfoDetail['id'].'/trang_1_'.$type.'_3'); ?>">Giá Tăng </a>
                        </strong>
                    </td>
                    <td class="top" style="width: 25%; height: 20px; text-align: center;">
                    	<strong>Mạng</strong></td>
                    <td class="top" style="width: 13%; height: 20px; text-align: center;">
                    	<strong>Đặt Mua</strong>
                    </td>
                </tr>
                <?php if(isset($post) && is_array($post)) {?>
	                <?php $i = 1; foreach ($post as $key=>$value) { ?>
	                <tr>
	                    <td style="width: 7%; text-align: center; background-color: #FFFFFF;">
	                    <?php echo $i; ?></td>
	                    <td class="tampx" style="width: 25%; background-color: #FFFFFF;">
	                    	<a href="<?php echo site_url('dat-mua/sim-so-dep-'.$value['phone'] . '_' . $value['id']) ?>"class="style9" title="<?php echo $value['phone']?>">
	                    		<strong><?php echo $value['phone']?></strong>
	                    	</a>
	                    </td>
	                    <td class="tampx" style="width: 28%; background-color: #FFFFFF;">
	                    	<?php if(strlen($value['price_update']) > 2) {?>
	                    		<?php echo $this->mycommon->toMoney($value['price_update']); ?>
	                    	<?php }else{ ?>
	                    		<?php echo $this->mycommon->toMoney($value['price']); ?>
	                    	<?php }?> 
	                    	<sup><font size="1">(VNĐ)</font></sup>
	                    </td>
	                    <td style="width: 25%; text-align: center; background-color: #FFFFFF;">
	                    	<strong><?php echo $value['name']?></strong>
	                    </td>
	                    <td style="width: 13%; text-align: center; background-color: #FFFFFF;">
		                    <strong>
		                    <a href="<?php echo site_url('dat-mua/sim-so-dep-'.$value['phone'] . '_' . $value['id']) ?>"class="style9" title="<?php echo $value['phone']?>">
		                    Đặt Mua</a> </strong>
	                   	</td>
	                </tr>
	                
	               	<?php $i++;} ?>
	           	<?php }else {?>
	           		<tr><td colspan="6"><span style="color:red">Sim trong hệ thống đang được cập nhật!</span></td></tr>
	           	<?php }?>
            </table>
            <div style="height: 3px; clear: both"> </div>
            <div align="center" style="margin: 0 auto">
                <div id="pages">
                    <?php echo $pagination; ?>
                 </div> 
            </div>
           </div>
        <div class="c"> </div>
       </div>
</div>
<script>
$('html, body').animate({
    scrollTop: $("#maintb").offset().top
}, 2000);
	
</script>
